rangers were beaten by queen of the south in the scottish championship .
derek lyle opened the scoring for the hosts following a first-half corner .
lee wallace own goal doubled the doonhammers ' lead after the break .
gavin reilly completed the upset that dents gers ' hopes of second place .